Skip to content

Subscription: improve end-to-end latency#12925

Merged
SteveYurongSu merged 11 commits intoapache:masterfrom
VGalaxies:improve-latency
Jul 16, 2024
Merged

Subscription: improve end-to-end latency#12925
SteveYurongSu merged 11 commits intoapache:masterfrom
VGalaxies:improve-latency

Conversation

@VGalaxies
Copy link
Copy Markdown
Contributor

@VGalaxies VGalaxies commented Jul 15, 2024

Specifically includes the following optimization strategies:

  1. Each time the consumer polls, it may trigger the trySealBatch request to batch.
  2. Shorten the interval parameters for some consumer operations.
  3. Optimize SubscriptionPrefetchingTsFileQueue lock contention.

@SteveYurongSu SteveYurongSu self-assigned this Jul 15, 2024
@VGalaxies VGalaxies marked this pull request as ready for review July 15, 2024 10:57
@SteveYurongSu SteveYurongSu merged commit c6fe5c3 into apache:master Jul 16, 2024
@VGalaxies VGalaxies deleted the improve-latency branch July 16, 2024 09:52
JackieTien97 pushed a commit that referenced this pull request Jul 22, 2024
 Specifically includes the following optimization strategies:

 1. Each time the consumer polls, it may trigger the `trySealBatch` request to batch.
 2. Shorten the interval parameters for some consumer operations.
 3. Optimize `SubscriptionPrefetchingTsFileQueue` lock contention.

(cherry picked from commit c6fe5c3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants